package Forms;
import javax.swing.BorderFactory;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JPanel;
import javax.swing.ListModel;
import javax.swing.SwingConstants;
import javax.swing.border.BevelBorder;
import javax.swing.border.LineBorder;
import teComponents.*;

import com.toedter.calendar.JDateChooser;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class PackagesForm  extends teComponents.teJFrame {
	
	private void initGUI() {
		try {
			{
				this.setTitle("Maintain Packages");
			}
			{
				this.setSize(920, 455);
			}
			{
				ListModel lstAllModel = 
					new DefaultComboBoxModel(
							new String[] { "Item One", "Item Two" });
				lstAll = new teJList();
				getContentPane().add(lstAll);
				lstAll.setModel(lstAllModel);
				lstAll.setBounds(12, 47, 455, 316);
			}
			{
				lblAll = new teJLabel();
				getContentPane().add(lblAll);
				lblAll.setText("Packages");
				lblAll.setBounds(12, 27, 80, 14);
				lblAll.setHorizontalAlignment(SwingConstants.LEFT);
			}
			{
				lblSearch = new teJLabel();
				getContentPane().add(lblSearch);
				lblSearch.setText("Search for: ");
				lblSearch.setBounds(483, 27, 110, 14);
				lblSearch.setHorizontalAlignment(SwingConstants.LEFT);
			}
			{
				btnAdd = new teJButton();
				getContentPane().add(btnAdd);
				btnAdd.setText("Add");
				btnAdd.setBounds(12, 382, 100, 25);
			}
			{
				btnDelete = new teJButton();
				getContentPane().add(btnDelete);
				btnDelete.setText("Delete");
				btnDelete.setBounds(157, 382, 100, 25);
			}
			{
				btnClear = new teJButton();
				getContentPane().add(btnClear);
				btnClear.setText("Clear");
				btnClear.setBounds(449, 382, 100, 25);
			}
			{
				btnUpdate = new teJButton();
				getContentPane().add(btnUpdate);
				btnUpdate.setText("Update");
				btnUpdate.setBounds(303, 382, 100, 25);
			}
			{
				pnlSelected = new teJPanel();
				getContentPane().add(pnlSelected);
				pnlSelected.setBounds(483, 210, 415, 152);
				pnlSelected.setLayout(null);
				{
					lblSuppName = new teJLabel();
					pnlSelected.add(lblSuppName);
					lblSuppName.setText("Pkg Name: ");
					lblSuppName.setBounds(102, 13, 105, 14);
					lblSuppName.setHorizontalAlignment(SwingConstants.LEFT);
				}
				{
					txtSuppName = new teJTextField();
					pnlSelected.add(txtSuppName);
					txtSuppName.setBounds(102, 33, 300, 18);
				}
				{
					txtSuppID = new teJTextField();
					pnlSelected.add(txtSuppID);
					txtSuppID.setBounds(8, 33, 82, 18);
				}
				{
					lblSuppID = new teJLabel();
					pnlSelected.add(lblSuppID);
					lblSuppID.setText("Pkg ID:");
					lblSuppID.setBounds(8, 13, 82, 14);
					lblSuppID.setHorizontalAlignment(SwingConstants.LEFT);
				}
			}
			{
				lblSelectedPanel = new teJLabel();
				getContentPane().add(lblSelectedPanel);
				lblSelectedPanel.setText("Your Selection:");
				lblSelectedPanel.setBounds(485, 190, 101, 14);
				lblSelectedPanel.setHorizontalAlignment(SwingConstants.LEFT);
			}
			{
				pnlSearch = new teJPanel();
				getContentPane().add(pnlSearch);
				pnlSearch.setBounds(483, 47, 415, 137);
				pnlSearch.setLayout(null);
				{
					txtsearchName = new teJTextField();
					pnlSearch.add(txtsearchName);
					txtsearchName.setBounds(100, 13, 208, 21);
				}
				{
					btnGo = new teJButton();
					pnlSearch.add(btnGo);
					btnGo.setText("Search");
					btnGo.setBounds(314, 13, 94, 111);
				}
				{
					lblsearchName = new teJLabel();
					pnlSearch.add(lblsearchName);
					lblsearchName.setText("Name: ");
					lblsearchName.setBounds(52, 20, 46, 14);
				}
				{
					txtsearchDesc = new teJTextField();
					pnlSearch.add(txtsearchDesc);
					txtsearchDesc.setBounds(100, 41, 208, 21);
				}
				{
					lblsearchDesc = new teJLabel();
					pnlSearch.add(lblsearchDesc);
					lblsearchDesc.setText("Description: ");
					lblsearchDesc.setBounds(14, 46, 84, 14);
				}
				{
					ComboBoxModel cbosearchRegionModel = 
						new DefaultComboBoxModel(
								new String[] { "Item One", "Item Two" });
					cbosearchRegion = new teJComboBox();
					pnlSearch.add(cbosearchRegion);
					cbosearchRegion.setModel(cbosearchRegionModel);
					cbosearchRegion.setBounds(100, 72, 208, 28);
				}
				{
					lblsearchRegion = new teJLabel();
					pnlSearch.add(lblsearchRegion);
					lblsearchRegion.setText("Region: ");
					lblsearchRegion.setBounds(43, 81, 55, 14);
				}
				{
					JDateChooser dc = new JDateChooser();
					pnlSearch.add(dc);
					dc.setBounds(100, 107, 208, 21);
				}
				{
					teJLabel lblsearchDate = new teJLabel();
					pnlSearch.add(lblsearchDate);
					lblsearchDate.setText("Date: ");
					lblsearchDate.setBounds(43, 110, 55, 14);
				}
			}
		} catch(Exception e) {
			e.printStackTrace();
		}
	}

	private teJList lstAll;
	private teJButton btnGo;
	private teJTextField txtsearchDesc;
	private teJLabel lblsearchRegion;
	private teJComboBox cbosearchRegion;
	private teJLabel lblsearchDesc;
	private teJLabel lblsearchName;
	private teJPanel pnlSearch;
	private teJLabel lblSelectedPanel;
	private teJLabel lblSuppID;
	private teJTextField txtSuppID;
	private teJLabel lblSuppName;
	private teJTextField txtSuppName;
	private JPanel pnlSelected;
	private teJButton btnAdd;
	private teJButton btnUpdate;
	private teJButton btnClear;
	private teJButton btnDelete;
	private teJLabel lblSearch;
	private teJTextField txtsearchName;
	private teJLabel lblAll;

}
